<!DOCTYPE HTML>
<html  lang="zh" xmlns:th="http://www.thymeleaf.org">
<meta charset="utf-8"/>
<head th:include="include :: header"></head>

<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
	<form class="form-horizontal m" id="form-teacherInfo-edit" th:object="${teacherInfo}">
		<input id="id" name="id" th:field="*{id}"  type="hidden">
		<div class="form-group">
			<label class="col-sm-3 control-label">姓名：</label>
			<div class="col-sm-8">
				<input id="name" name="name" th:field="*{name}" class="form-control" type="text" disabled="disabled">
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-3 control-label">别名（花名）：</label>
			<div class="col-sm-8">
				<input id="alias" name="alias" th:field="*{alias}" class="form-control" type="text" disabled="disabled">
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-3 control-label">性别：</label>
			<div class="col-sm-8">
				<select id="sex" name="sex" class="form-control m-b" th:with="type=${@dict.getType('sys_user_sex')}" disabled="disabled">
					<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{sex}"></option>
				</select>
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-3 control-label">出生地区：</label>
			<div class="col-sm-8">
				<input id="birthRegion" name="birthRegion" th:field="*{birthRegion}" class="form-control" type="text" disabled="disabled">
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-3 control-label">教学地区：</label>
			<div class="col-sm-8">
				<input id="teachRegion" name="teachRegion" th:field="*{teachRegion}" class="form-control" type="text" disabled="disabled">
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-3 control-label">任职学校：</label>
			<div class="col-sm-8">
				<input id="school" name="school" th:field="*{school}" class="form-control" type="text" disabled="disabled">
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-3 control-label">生日：</label>
			<div class="col-sm-8">
				<div class="input-group date">
					<span class="input-group-addon"><i class="fa fa-calendar"></i></span>
					<input type="text" id="birthday" class="form-control"  name="birthday" th:field="*{birthday}" disabled="disabled">
				</div>
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-3 control-label">职业：</label>
			<div class="col-sm-8">
				<select id="occupation" name="occupation" class="form-control m-b" th:with="type=${@dict.getType('teacher_type')}" disabled="disabled">
					<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{occupation}"></option>
				</select>
			</div>
		</div>
		<!--<div class="form-group">	-->
		<!--<label class="col-sm-3 control-label">照片：</label>-->
		<!--<div class="col-sm-8">-->
		<!--<input id="image" name="image" th:field="*{image}" class="form-control" type="text">-->
		<!--</div>-->
		<!--</div>-->
		<div class="form-group">
			<label class="col-sm-3 control-label">简介：</label>
			<div class="col-sm-8">
				<textarea id="introduction" name="introduction" class="form-control" disabled="disabled">[[*{introduction}]]</textarea>
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-3 control-label">状态：</label>
			<div class="col-sm-8">
				<div class="onoffswitch">
					<input type="checkbox" th:checked="${teacherInfo.status == '0' ? true : false}" class="onoffswitch-checkbox" id="status" name="status" disabled="disabled">
					<label class="onoffswitch-label" for="status">
						<span class="onoffswitch-inner"></span>
						<span class="onoffswitch-switch"></span>
					</label>
				</div>
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-3 control-label">备注：</label>
			<div class="col-sm-8">
				<input id="remark" name="remark" th:field="*{remark}" class="form-control" type="text" disabled="disabled">
			</div>
		</div>
	</form>
</div>
<div th:include="include::footer"></div>
</body>
</html>
